package com.xl.web.dao.zoom;

import java.util.List;
import java.util.Map;

import com.xl.base.dao.BaseDao;
import com.xl.web.entity.zoom.Company;
import com.xl.web.entity.zoom.Invitation;
import com.xl.web.entity.zoom.Meeting;
import com.xl.web.entity.zoom.MeetingActionLog;
import com.xl.web.entity.zoom.SysUser;
import com.xl.web.entity.zoom.ZoomAccount;


public interface MeetingDao<T> extends BaseDao<T> {
	/**
	 * 根据条件获取部门信息
	 * @param dept
	 * @return
	 */
	public void  saveMeeting(Meeting meeting);
	
	public  List<ZoomAccount> queryAccountOrder(Map paraMap);
	
	public  List<ZoomAccount> queryAccountByschedule(Map paraMap);
	
	
	
	public List<Meeting>queryMyMeeting(Map paraMap);
	
	public List<Meeting>queryMeetings(Map paraMap);
	
	
	public List<Company>queryCompanyByMeeting(Meeting meeting);
	
	
	public List<SysUser>queryUserByMeeting(Meeting meeting);
	
	
	//更新会议状态
	public void updateMeetingState(Meeting meeting);
	
    public void saveMeetingActionLog(MeetingActionLog meetingActingLog);
    
    public List<MeetingActionLog> queryMeetingActionLog(MeetingActionLog meetingActingLog);
	
    public   void updateCurrentTcp(Company company);
    
	
	public void saveInvitation(Invitation invitation);
	/**
	 * 计算当前会议参会人数started+join-leave
	 * @param meeting
	 * @return
	 */
	public int calMeetingJoinCnts(Meeting meeting);
	/**
	 * 删除会议
	 * @param meeting
	 */
	public void deleteMeeting(Meeting meeting);
	
	
	public void updateMeeting(Meeting meeting);

}
